home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / libx11 / include / x11 / shell.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  11KB  |  382 lines

  1. /*
  2. * $XConsortium: Shell.h,v 1.23 91/05/04 20:59:47 rws Exp $
  3. */
  4. /***********************************************************
  5. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  6. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  7.  
  8.                         All Rights Reserved
  9.  
  10. Permission to use, copy, modify, and distribute this software and its 
  11. documentation for any purpose and without fee is hereby granted, 
  12. provided that the above copyright notice appear in all copies and that
  13. both that copyright notice and this permission notice appear in 
  14. supporting documentation, and that the names of Digital or MIT not be
  15. used in advertising or publicity pertaining to distribution of the
  16. software without specific, written prior permission.  
  17.  
  18. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  19. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  20. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  21. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  22. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  23. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  24. SOFTWARE.
  25.  
  26. ******************************************************************/
  27.  
  28. #ifndef _XtShell_h
  29. #define _XtShell_h
  30.  
  31. /***********************************************************************
  32.  *
  33.  * Shell Widget
  34.  *
  35.  ***********************************************************************/
  36. /*
  37.  * Shell-specific resources names, classes, and a representation type.
  38.  */
  39.  
  40. /* The string definitions are automatically generated. */
  41. /* Do not edit. */
  42.  
  43. #ifdef XTSTRINGDEFINES
  44. #define XtNiconName "iconName"
  45. #define XtCIconName "IconName"
  46. #define XtNiconPixmap "iconPixmap"
  47. #define XtCIconPixmap "IconPixmap"
  48. #define XtNiconWindow "iconWindow"
  49. #define XtCIconWindow "IconWindow"
  50. #define XtNiconMask "iconMask"
  51. #define XtCIconMask "IconMask"
  52. #define XtNwindowGroup "windowGroup"
  53. #define XtCWindowGroup "WindowGroup"
  54. #define XtNvisual "visual"
  55. #define XtCVisual "Visual"
  56. #define XtNtitleEncoding "titleEncoding"
  57. #define XtCTitleEncoding "TitleEncoding"
  58. #define XtNsaveUnder "saveUnder"
  59. #define XtCSaveUnder "SaveUnder"
  60. #define XtNtransient "transient"
  61. #define XtCTransient "Transient"
  62. #define XtNoverrideRedirect "overrideRedirect"
  63. #define XtCOverrideRedirect "OverrideRedirect"
  64. #define XtNtransientFor "transientFor"
  65. #define XtCTransientFor "TransientFor"
  66. #define XtNiconNameEncoding "iconNameEncoding"
  67. #define XtCIconNameEncoding "IconNameEncoding"
  68. #define XtNallowShellResize "allowShellResize"
  69. #define XtCAllowShellResize "AllowShellResize"
  70. #define XtNcreatePopupChildProc "createPopupChildProc"
  71. #define XtCCreatePopupChildProc "CreatePopupChildProc"
  72. #define XtNtitle "title"
  73. #define XtCTitle "Title"
  74. #define XtRAtom "Atom"
  75. #define XtNargc "argc"
  76. #define XtCArgc "Argc"
  77. #define XtNargv "argv"
  78. #define XtCArgv "Argv"
  79. #define XtNiconX "iconX"
  80. #define XtCIconX "IconX"
  81. #define XtNiconY "iconY"
  82. #define XtCIconY "IconY"
  83. #define XtNinput "input"
  84. #define XtCInput "Input"
  85. #define XtNiconic "iconic"
  86. #define XtCIconic "Iconic"
  87. #define XtNinitialState "initialState"
  88. #define XtCInitialState "InitialState"
  89. #define XtNgeometry "geometry"
  90. #define XtCGeometry "Geometry"
  91. #define XtNbaseWidth "baseWidth"
  92. #define XtCBaseWidth "BaseWidth"
  93. #define XtNbaseHeight "baseHeight"
  94. #define XtCBaseHeight "BaseHeight"
  95. #define XtNwinGravity "winGravity"
  96. #define XtCWinGravity "WinGravity"
  97. #define XtNminWidth "minWidth"
  98. #define XtCMinWidth "MinWidth"
  99. #define XtNminHeight "minHeight"
  100. #define XtCMinHeight "MinHeight"
  101. #define XtNmaxWidth "maxWidth"
  102. #define XtCMaxWidth "MaxWidth"
  103. #define XtNmaxHeight "maxHeight"
  104. #define XtCMaxHeight "MaxHeight"
  105. #define XtNwidthInc "widthInc"
  106. #define XtCWidthInc "WidthInc"
  107. #define XtNheightInc "heightInc"
  108. #define XtCHeightInc "HeightInc"
  109. #define XtNminAspectY "minAspectY"
  110. #define XtCMinAspectY "MinAspectY"
  111. #define XtNmaxAspectY "maxAspectY"
  112. #define XtCMaxAspectY "MaxAspectY"
  113. #define XtNminAspectX "minAspectX"
  114. #define XtCMinAspectX "MinAspectX"
  115. #define XtNmaxAspectX "maxAspectX"
  116. #define XtCMaxAspectX "MaxAspectX"
  117. #define XtNwmTimeout "wmTimeout"
  118. #define XtCWmTimeout "WmTimeout"
  119. #define XtNwaitForWm "waitforwm"
  120. #define XtCWaitForWm "Waitforwm"
  121. #else
  122. #if __STDC__
  123. #define _XtConst_ const
  124. #else
  125. #define _XtConst_ /**/
  126. #endif
  127. extern _XtConst_ char XtShellStrings[];
  128. #ifndef XtNiconName
  129. #define XtNiconName ((char*)&XtShellStrings[0])
  130. #endif
  131. #ifndef XtCIconName
  132. #define XtCIconName ((char*)&XtShellStrings[9])
  133. #endif
  134. #ifndef XtNiconPixmap
  135. #define XtNiconPixmap ((char*)&XtShellStrings[18])
  136. #endif
  137. #ifndef XtCIconPixmap
  138. #define XtCIconPixmap ((char*)&XtShellStrings[29])
  139. #endif
  140. #ifndef XtNiconWindow
  141. #define XtNiconWindow ((char*)&XtShellStrings[40])
  142. #endif
  143. #ifndef XtCIconWindow
  144. #define XtCIconWindow ((char*)&XtShellStrings[51])
  145. #endif
  146. #ifndef XtNiconMask
  147. #define XtNiconMask ((char*)&XtShellStrings[62])
  148. #endif
  149. #ifndef XtCIconMask
  150. #define XtCIconMask ((char*)&XtShellStrings[71])
  151. #endif
  152. #ifndef XtNwindowGroup
  153. #define XtNwindowGroup ((char*)&XtShellStrings[80])
  154. #endif
  155. #ifndef XtCWindowGroup
  156. #define XtCWindowGroup ((char*)&XtShellStrings[92])
  157. #endif
  158. #ifndef XtNvisual
  159. #define XtNvisual ((char*)&XtShellStrings[104])
  160. #endif
  161. #ifndef XtCVisual
  162. #define XtCVisual ((char*)&XtShellStrings[111])
  163. #endif
  164. #ifndef XtNtitleEncoding
  165. #define XtNtitleEncoding ((char*)&XtShellStrings[118])
  166. #endif
  167. #ifndef XtCTitleEncoding
  168. #define XtCTitleEncoding ((char*)&XtShellStrings[132])
  169. #endif
  170. #ifndef XtNsaveUnder
  171. #define XtNsaveUnder ((char*)&XtShellStrings[146])
  172. #endif
  173. #ifndef XtCSaveUnder
  174. #define XtCSaveUnder ((char*)&XtShellStrings[156])
  175. #endif
  176. #ifndef XtNtransient
  177. #define XtNtransient ((char*)&XtShellStrings[166])
  178. #endif
  179. #ifndef XtCTransient
  180. #define XtCTransient ((char*)&XtShellStrings[176])
  181. #endif
  182. #ifndef XtNoverrideRedirect
  183. #define XtNoverrideRedirect ((char*)&XtShellStrings[186])
  184. #endif
  185. #ifndef XtCOverrideRedirect
  186. #define XtCOverrideRedirect ((char*)&XtShellStrings[203])
  187. #endif
  188. #ifndef XtNtransientFor
  189. #define XtNtransientFor ((char*)&XtShellStrings[220])
  190. #endif
  191. #ifndef XtCTransientFor
  192. #define XtCTransientFor ((char*)&XtShellStrings[233])
  193. #endif
  194. #ifndef XtNiconNameEncoding
  195. #define XtNiconNameEncoding ((char*)&XtShellStrings[246])
  196. #endif
  197. #ifndef XtCIconNameEncoding
  198. #define XtCIconNameEncoding ((char*)&XtShellStrings[263])
  199. #endif
  200. #ifndef XtNallowShellResize
  201. #define XtNallowShellResize ((char*)&XtShellStrings[280])
  202. #endif
  203. #ifndef XtCAllowShellResize
  204. #define XtCAllowShellResize ((char*)&XtShellStrings[297])
  205. #endif
  206. #ifndef XtNcreatePopupChildProc
  207. #define XtNcreatePopupChildProc ((char*)&XtShellStrings[314])
  208. #endif
  209. #ifndef XtCCreatePopupChildProc
  210. #define XtCCreatePopupChildProc ((char*)&XtShellStrings[335])
  211. #endif
  212. #ifndef XtNtitle
  213. #define XtNtitle ((char*)&XtShellStrings[356])
  214. #endif
  215. #ifndef XtCTitle
  216. #define XtCTitle ((char*)&XtShellStrings[362])
  217. #endif
  218. #ifndef XtRAtom
  219. #define XtRAtom ((char*)&XtShellStrings[368])
  220. #endif
  221. #ifndef XtNargc
  222. #define XtNargc ((char*)&XtShellStrings[373])
  223. #endif
  224. #ifndef XtCArgc
  225. #define XtCArgc ((char*)&XtShellStrings[378])
  226. #endif
  227. #ifndef XtNargv
  228. #define XtNargv ((char*)&XtShellStrings[383])
  229. #endif
  230. #ifndef XtCArgv
  231. #define XtCArgv ((char*)&XtShellStrings[388])
  232. #endif
  233. #ifndef XtNiconX
  234. #define XtNiconX ((char*)&XtShellStrings[393])
  235. #endif
  236. #ifndef XtCIconX
  237. #define XtCIconX ((char*)&XtShellStrings[399])
  238. #endif
  239. #ifndef XtNiconY
  240. #define XtNiconY ((char*)&XtShellStrings[405])
  241. #endif
  242. #ifndef XtCIconY
  243. #define XtCIconY ((char*)&XtShellStrings[411])
  244. #endif
  245. #ifndef XtNinput
  246. #define XtNinput ((char*)&XtShellStrings[417])
  247. #endif
  248. #ifndef XtCInput
  249. #define XtCInput ((char*)&XtShellStrings[423])
  250. #endif
  251. #ifndef XtNiconic
  252. #define XtNiconic ((char*)&XtShellStrings[429])
  253. #endif
  254. #ifndef XtCIconic
  255. #define XtCIconic ((char*)&XtShellStrings[436])
  256. #endif
  257. #ifndef XtNinitialState
  258. #define XtNinitialState ((char*)&XtShellStrings[443])
  259. #endif
  260. #ifndef XtCInitialState
  261. #define XtCInitialState ((char*)&XtShellStrings[456])
  262. #endif
  263. #ifndef XtNgeometry
  264. #define XtNgeometry ((char*)&XtShellStrings[469])
  265. #endif
  266. #ifndef XtCGeometry
  267. #define XtCGeometry ((char*)&XtShellStrings[478])
  268. #endif
  269. #ifndef XtNbaseWidth
  270. #define XtNbaseWidth ((char*)&XtShellStrings[487])
  271. #endif
  272. #ifndef XtCBaseWidth
  273. #define XtCBaseWidth ((char*)&XtShellStrings[497])
  274. #endif
  275. #ifndef XtNbaseHeight
  276. #define XtNbaseHeight ((char*)&XtShellStrings[507])
  277. #endif
  278. #ifndef XtCBaseHeight
  279. #define XtCBaseHeight ((char*)&XtShellStrings[518])
  280. #endif
  281. #ifndef XtNwinGravity
  282. #define XtNwinGravity ((char*)&XtShellStrings[529])
  283. #endif
  284. #ifndef XtCWinGravity
  285. #define XtCWinGravity ((char*)&XtShellStrings[540])
  286. #endif
  287. #ifndef XtNminWidth
  288. #define XtNminWidth ((char*)&XtShellStrings[551])
  289. #endif
  290. #ifndef XtCMinWidth
  291. #define XtCMinWidth ((char*)&XtShellStrings[560])
  292. #endif
  293. #ifndef XtNminHeight
  294. #define XtNminHeight ((char*)&XtShellStrings[569])
  295. #endif
  296. #ifndef XtCMinHeight
  297. #define XtCMinHeight ((char*)&XtShellStrings[579])
  298. #endif
  299. #ifndef XtNmaxWidth
  300. #define XtNmaxWidth ((char*)&XtShellStrings[589])
  301. #endif
  302. #ifndef XtCMaxWidth
  303. #define XtCMaxWidth ((char*)&XtShellStrings[598])
  304. #endif
  305. #ifndef XtNmaxHeight
  306. #define XtNmaxHeight ((char*)&XtShellStrings[607])
  307. #endif
  308. #ifndef XtCMaxHeight
  309. #define XtCMaxHeight ((char*)&XtShellStrings[617])
  310. #endif
  311. #ifndef XtNwidthInc
  312. #define XtNwidthInc ((char*)&XtShellStrings[627])
  313. #endif
  314. #ifndef XtCWidthInc
  315. #define XtCWidthInc ((char*)&XtShellStrings[636])
  316. #endif
  317. #ifndef XtNheightInc
  318. #define XtNheightInc ((char*)&XtShellStrings[645])
  319. #endif
  320. #ifndef XtCHeightInc
  321. #define XtCHeightInc ((char*)&XtShellStrings[655])
  322. #endif
  323. #ifndef XtNminAspectY
  324. #define XtNminAspectY ((char*)&XtShellStrings[665])
  325. #endif
  326. #ifndef XtCMinAspectY
  327. #define XtCMinAspectY ((char*)&XtShellStrings[676])
  328. #endif
  329. #ifndef XtNmaxAspectY
  330. #define XtNmaxAspectY ((char*)&XtShellStrings[687])
  331. #endif
  332. #ifndef XtCMaxAspectY
  333. #define XtCMaxAspectY ((char*)&XtShellStrings[698])
  334. #endif
  335. #ifndef XtNminAspectX
  336. #define XtNminAspectX ((char*)&XtShellStrings[709])
  337. #endif
  338. #ifndef XtCMinAspectX
  339. #define XtCMinAspectX ((char*)&XtShellStrings[720])
  340. #endif
  341. #ifndef XtNmaxAspectX
  342. #define XtNmaxAspectX ((char*)&XtShellStrings[731])
  343. #endif
  344. #ifndef XtCMaxAspectX
  345. #define XtCMaxAspectX ((char*)&XtShellStrings[742])
  346. #endif
  347. #ifndef XtNwmTimeout
  348. #define XtNwmTimeout ((char*)&XtShellStrings[753])
  349. #endif
  350. #ifndef XtCWmTimeout
  351. #define XtCWmTimeout ((char*)&XtShellStrings[763])
  352. #endif
  353. #ifndef XtNwaitForWm
  354. #define XtNwaitForWm ((char*)&XtShellStrings[773])
  355. #endif
  356. #ifndef XtCWaitForWm
  357. #define XtCWaitForWm ((char*)&XtShellStrings[783])
  358. #endif
  359. #undef _XtConst_
  360. #endif
  361.  
  362. /* Class record constants */
  363.  
  364. typedef struct _ShellClassRec *ShellWidgetClass;
  365. typedef struct _OverrideShellClassRec *OverrideShellWidgetClass;
  366. typedef struct _WMShellClassRec *WMShellWidgetClass;
  367. typedef struct _TransientShellClassRec *TransientShellWidgetClass;
  368. typedef struct _TopLevelShellClassRec *TopLevelShellWidgetClass;
  369. typedef struct _ApplicationShellClassRec *ApplicationShellWidgetClass;
  370.  
  371. #ifndef SHELL 
  372. externalref WidgetClass shellWidgetClass;
  373. externalref WidgetClass overrideShellWidgetClass;
  374. externalref WidgetClass wmShellWidgetClass;
  375. externalref WidgetClass transientShellWidgetClass;
  376. externalref WidgetClass topLevelShellWidgetClass;
  377. externalref WidgetClass applicationShellWidgetClass;
  378. #endif
  379.  
  380. #endif /* _XtShell_h */
  381. /* DON'T ADD STUFF AFTER THIS #endif */
  382.